package com.jiamao.goplay.immsg;

import com.jiamao.goplay.util.StringUtils;
import com.netease.nim.uikit.business.session.viewholder.MsgViewHolderNotification;
import com.netease.nim.uikit.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter;

public class MsgViewHolderCommd extends MsgViewHolderNotification {
    public MsgViewHolderCommd(BaseMultiItemFetchLoadAdapter adapter) {
        super(adapter);
    }

    @Override
    protected String getDisplayText() {
        //实例化一个attachment

        CommdAttachment attachment = (CommdAttachment)message.getAttachment();
        return attachment.Text;

    }
}
